/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tchat;

import java.io.Serializable;

/**
 *
 * @author Hippolyte
 */
public class Personne implements Serializable {

    private String nom;
    private boolean connecte;

    public Personne(String nom, boolean connecte) {
        this.nom = nom;
        this.connecte = connecte;
    }

    /**
     * @return the nom
     */
    public String getNom() {
        return nom;
    }

    /**
     * @param nom the nom to set
     */
    public void setNom(String nom) {
        this.nom = nom;
    }

    /**
     * @return the connecte
     */
    public boolean isConnecte() {
        return connecte;
    }

    /**
     * @param connecte the connecte to set
     */
    public void setConnecte(boolean connecte) {
        this.connecte = connecte;
    }

    
    
}
